import http from '@/utils/request'

// 上传头像到OSS
export const uploadAvatar = (filePath: string) => {
    return http.upload('/resource/oss/upload', filePath)
}
